#ifndef COMMUNITYUI_H
#define COMMUNITYUI_H

#include <QWidget>

namespace Ui {
    class CommunityUI;
}

class CommunityUI : public Optra::GuiWindow {
    Q_OBJECT
public:
    CommunityUI(QWidget *parent = 0);
    ~CommunityUI();

    void setPassword(const QString& pass);
    QString password();

    void setUser(const QString& user);
    QString user();

protected:
    void changeEvent(QEvent *e);
    void closeEvent(QCloseEvent * event);


signals:
    void connectManual();

private:
    Ui::CommunityUI *ui;
};

#endif // COMMUNITYUI_H
